<{include file="header.html"}>
<div id="content">
    <div class="container">
        <div class="main-content">
            <h1 class="title"><a href="<{$smarty.const.APPLICATION_URL_FO}>/gallery/"><{$smarty.const._LB_GALLERY}></a><{if $id >0 }> :: <{$album->TITLE}><{/if}></h1>
            <div class="gallery">
                <{if isset($album)}>
                    <{while $album->fetch()}>
                        <{if $album->IMAGE != ""}>
						<div class="item-gallery">
							<a href="<{$smarty.const.APPLICATION_URL_FO}>/gallery/?id=<{$album->ID}>" title="Click on the right side of the image to move forward.">
								<img class="thumbnail" src="<{$smarty.const.IMAGE_URL}>/thumb<{$album->IMAGE}>" alt="<{$album->TITLE}>" height="120"/>
							</a>
							<span class="icon-detail"><{$album->TITLE}></span>
							<p><{$album->TITLE}></p>
						</div>
                        <{/if}>
                    <{/while}>
                    <{/if}>
                    <{if isset($album_gallery)}>
                    <{while $album_gallery->fetch()}>
                        <{if $album_gallery->IMAGE != ""}>
						<div class="item-gallery">
							<a href="<{$smarty.const.IMAGE_URL}>/<{$album_gallery->IMAGE}>" data-lightbox="example-set" title="<{if $album_gallery->CONTENT != ""}><{$album_gallery->CONTENT|utf8_escape_js}><{else}><{$smarty.const._LB_ZOOM_IMAGE}><{/if}>">
								<img class="thumbnail" src="<{$smarty.const.IMAGE_URL}>/thumb<{$album_gallery->IMAGE}>" alt="<{$album_gallery->TITLE}>" height="120"/>
							</a>
							<span class="icon-detail"></span>
						</div>
                        <{/if}>
                    <{/while}>
                <{/if}>
            </div>
        </div>
        <div class="sidebar">
            <{include file="right_business_hours.html"}>
			<{include file="right_service.html"}>
        </div><!--End .sidebar-->
    </div>
</div>
<{include file="footer.html"}>